Skip to content

Dev/constant eol#4

Merged
ruby3141 merged 2 commits into
mainfrom
dev/constantEOL
Feb 6, 2024
Merged

Dev/constant eol#4
ruby3141 merged 2 commits into
mainfrom
dev/constantEOL

Conversation

@ruby3141
Copy link
Copy Markdown
Owner

@ruby3141 ruby3141 commented Feb 6, 2024

this pull request add following changes;

  • raise LangVersion of Generator project to 12.0
  • use raw string literal for Generator template
  • use verbatim linebreak instead of "\r\n" to ensure constant EOL on generated code

Purely internal-visual change and there's no actual behavior altered.
Because of git autocrlf, it's not easy to ensure consistent EOL.
The other option is to force it with .gitattribute, which is the worst.
@ruby3141 ruby3141 self-assigned this Feb 6, 2024
@ruby3141 ruby3141 merged commit 3ddfbb4 into main Feb 6, 2024
@ruby3141 ruby3141 deleted the dev/constantEOL branch February 6, 2024 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant